package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 提醒对象管理
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@Data
@TableName("IG_REMIND_OBJECT_MANAGE")
public class IgRemindObjectManage extends Model<IgRemindObjectManage> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "REMIND_OBJECT_ID",type = IdType.ASSIGN_UUID)
    private String remindObjectId;

    /**
     * 员工编号
     */
    @TableField("EMP_CODE")
    private String empCode;

    /**
     * 部门ID
     */
    @TableField("DEPT_ID")
    private String deptId;

    /**
     * 姓名
     */
    @TableField("EMP_NAME")
    private String empName;

    /**
     * 手机号码
     */
    @TableField("PHONE")
    private String phone;

    @TableField("PRICE_MEMBER")
    private Integer priceMember;

    @Override
    protected Serializable pkVal() {
        return this.remindObjectId;
    }


}
